<!-- /*<style media="screen" type="text/css">
  .button_submit{
    height: 50px;
    width: 10.5%;
    margin-top: 5px;
  }
</style>*/ -->
<!-- <h1>登陆 </h1>
<h3> <%= notice %> </h3>
<%= form_tag session_path, method: 'POST', class: 'form-signin' do  %>
<table>
    <tr>
      <td>
        <%= text_field_tag :login_name, nil, class: "form-control", placeholder: 'Login name', required: true %>
      </td>
    </tr>
    <tr>
      <td>
        <%= password_field_tag :password, nil, class: "form-control", placeholder: "Password", required: true %>
      </td>
    </tr>
</table>
<%= submit_tag '登陆', class: 'btn btn-lg btn-primary button_submit' %>
<% end %>
<%= link_to 'admin', new_admin_session_path %> -->




<div class="container">

  <div class="row" id="pwd-container">
    <div class="col-md-4"></div>

    <div class="col-md-4">
      <section class="login-form">
        <%= form_tag session_path, method: 'POST', class: 'form-signin', role: "login" do  %>
        <!-- <form method="post" action="#" role="login"> -->
          <%= image_tag "login_logo.png", class: "img-responsive" %>
          <input type="text" name="login_name" placeholder="Login name" required class="form-control input-lg" />

          <input type="password" class="form-control input-lg" name="password" placeholder="Password" required="" />


          <div class="pwstrength_viewport_progress"></div>


          <button type="submit" name="go" class="btn btn-lg btn-primary btn-block">登  陆</button>
          <div>
            <p class="help-block error-message" style="color: red;"> <%= notice %></p>
            <!-- <a href="#">Create account</a> or <a href="#">reset password</a> -->
          </div>
        <% end %>
        <!-- </form> -->
      </section>
      </div>

      <div class="col-md-4"></div>


  </div>
